- 
		Home
	
 
	- 
WooCommerce Square
 
- 
4.1.0
 
- 
Code
 
- 
Classes
 
-  Admin_Message_Handler 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											44 | 
										
																			
											| Dependencies | 
											0 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											392 | 
										
																			
											| Lines of code | 
											134 | 
										
																			
											| Logical lines of code | 
											59 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											171 | 
										
																			
											| Methods | 
											22 | 
										
																			
											| Properties | 
											5 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 22
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| show_messages() | 
									A  | 
																	49 | 
													7 | 
													31 | 
							
					
				| load_messages() | 
									S  | 
																	54 | 
													7 | 
													22 | 
							
					
				| set_messages() | 
									S  | 
																	57 | 
													5 | 
													16 | 
							
					
				| get_error() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| get_warning() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| get_info() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| get_message() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| redirect() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| get_message_id() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| __construct() | 
									S  | 
																	72 | 
													1 | 
													5 | 
							
					
				| clear_messages() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| add_error() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| add_warning() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| add_message() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| error_count() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| warning_count() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| info_count() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| message_count() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_errors() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_warnings() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_infos() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_messages() | 
									S  | 
																	82 | 
													1 | 
													3 |